using System;
using System.Collections.Generic;
using System.Text;

namespace testMethods
{
    public class methods
    {
        public void testQuarterLength(int minutes)
        {
            int ones = minutes % 10;
            int tens = (minutes - ones) / 10;
            Console.WriteLine(ones);
            Console.WriteLine(tens);            
            string hexValue = Convert.ToString(tens, 16).PadLeft(1, '0') + Convert.ToString(ones, 16).PadLeft(1, '0');
            Console.WriteLine(hexValue);
            byte bite = byte.Parse(hexValue, System.Globalization.NumberStyles.HexNumber);                        
            Console.WriteLine(bite);
        }
    }


}
